package bean;

public class supplier {
    private int supplierId;//供应商编号
    private String suppliername;//供应商名字
    private String supplierphone;//供应商电话
    private String supplieradd;//供应商地址
    private int isalive;

    public supplier() {
    }

    public supplier(int supplierId, String suppliername, String supplierphone, String supplieradd, int isalive) {
        this.supplierId = supplierId;
        this.suppliername = suppliername;
        this.supplierphone = supplierphone;
        this.supplieradd = supplieradd;
        this.isalive = isalive;
    }

    public int getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(int supplierId) {
        this.supplierId = supplierId;
    }

    public String getSuppliername() {
        return suppliername;
    }

    public void setSuppliername(String suppliername) {
        this.suppliername = suppliername;
    }

    public String getSupplierphone() {
        return supplierphone;
    }

    public void setSupplierphone(String supplierphone) {
        this.supplierphone = supplierphone;
    }

    public String getSupplieradd() {
        return supplieradd;
    }

    public void setSupplieradd(String supplieradd) {
        this.supplieradd = supplieradd;
    }

    public int getIsalive() {
        return isalive;
    }

    public void setIsalive(int isalive) {
        this.isalive = isalive;
    }

    @Override
    public String toString() {
        return "supplier{" +
                "supplierId=" + supplierId +
                ", suppliername='" + suppliername + '\'' +
                ", supplierphone='" + supplierphone + '\'' +
                ", supplieradd='" + supplieradd + '\'' +
                ", isalive=" + isalive +
                '}';
    }
}
